﻿#region Usings

using System.Windows.Media;

#endregion

namespace SilverBox.Physics
{
    public static class Helpers
    {
        public static Color ToPlatformColor(this Box2DX.Dynamics.Color color)
        {
            return Color.FromArgb(255, (byte) (color.R*255), (byte) (color.G*255), (byte) (color.B*255));
        }
    }
}